home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / tfig312e.zip / HOST < prev    next >
Text File  |  1991-03-05  |  11KB  |  264 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8. You can configure Telix to set up your computer as a remote host, so that
  9. others may call your system and perform operations like transferring files and
  10. chatting. It is like having a small BBS on your system. However, if your
  11. security needs are complicated you should consider using a real BBS program. 
  12.  
  13. There are a few requirements to running Host Mode. Your modem must be able to
  14. pick up the phone when it rings. The CD (Carrier Detect) Mask must be properly
  15. defined in the Configuration Menu, so that Telix can tell when it is connected
  16. to a caller. Telix must also be able to hang up the modem by dropping (turning
  17. off) the DTR line on the RS-232 port. If one of these requirements is not met
  18. you probably can not run Telix Host Mode on your system.
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. The Telix Host Mode is set in motion as a script in Telix's powerful SALT
  34. script language. To run the Host Mode script, press Alt-G while in Terminal
  35. mode, and then enter 'HOST' as the script file name. The script 'HOST' will
  36. then be run. Several Host Mode configuration settings are kept in a file
  37. called 'HOST.CNF'. The first time you run the Host Mode script, it will not
  38. find this file, and automatically run the host Mode configuration script
  39. 'HCONFIG', which will create the file and allow you to change default values.
  40. You should run HCONFIG when you need to configure the Host Mode. HCONFIG will
  41. present you with the following parameters:
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. A:   Level One password. This is the password that callers must successfully
  56.      enter to be admitted to the Host Mode and have Level One access.
  57.  
  58. B:   Level two password. This is the password that callers must successfully
  59.      enter to be admitted to the Host Mode and have Level Two (Sysop) access.
  60.  
  61. C:   DOS shell password. This is the password that users of the Host Mode have
  62.      to enter to use the Remote DOS Shell option.
  63.  
  64. D:   Shut down Host Mode password. This is the password that callers must
  65.      enter to shut down the Host Mode, when they press Ctrl-Z.
  66.  
  67. E:   Host Download Directory. Level 1 access callers will only be able to
  68.      download (have Telix send them) files that are in this directory. As
  69.      well, the 'F'iles command will show them only the contents of this
  70.      directory. 
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.                                  !! CAUTION !!
  79.  
  80.           DO NOT, UNDER ANY CIRCUMSTANCES, define this directory to
  81.           the same name as the directory you run Telix in. If you
  82.           did that, callers could download the Host Mode configura-
  83.           tion file, which is stored there, and see your passwords. 
  84.  
  85.      Level 2 access callers may specify any download path, but this is the
  86.      default.
  87.  
  88. F:   Host Upload Directory. Level 1 access callers will only be able to upload
  89.      (send to Telix) files into this directory. Level 2 access callers can
  90.      specify any path, but files will go here by default.
  91.  
  92. G:   Connection type. This can be either 'Modem' or 'Direct'. Use 'Modem' if
  93.      your host system is being accessed through a modem, or 'Direct' if two
  94.      computers are hard-wired. This stops Telix from trying to initialize a
  95.      non-existent modem. or trying to determine the caller's baud.
  96.  
  97.  
  98.  
  99. There is one other important parameter which must be properly set for Host
  100. Mode operation. This is the Auto Answer string, which is defined in the 'Modem
  101. and dialing' page of the Configuration Menu. This string is sent to the modem
  102. when Telix enters Host Mode, and should make the modem pick up the phone when
  103. it rings. The default string is set up for Hayes compatible modems. It is:
  104.  
  105.                             'AT X1 S0=1|^M'       
  106.  
  107. where
  108.  
  109. AT        The modem attention code.
  110.  
  111. X1        Tells the modem to reply with extended result codes. This means the
  112.           modem indicates the caller's baud rate.
  113.  
  114. S0=1      Tells the modem to answer after one ring.
  115.  
  116. ^M        Sends the terminating Carriage Return character.
  117.  
  118. There are two optional text files which are displayed to callers if they
  119. exist, called LOGO.MSG, and WELCOME.MSG. 
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126. The Host Mode can actually be run once it's configured. Telix will make a note
  127. in the Host Mode audit file HOST.LOG and then will immediately send the Host
  128. Mode init string to the modem. Telix then waits for a caller. 
  129.  
  130. While in Host Mode, on the local side, the user can always press Esc to exit
  131. Host Mode, or End to terminate the current caller. He can also enter commands
  132. for the remote caller, so that a novice caller can be helped along by the host
  133. operator. Also the current caller will be automatically terminated if there is
  134. inactivity for five minutes, or the connection is lost. This is all noted in
  135. the host audit file. 
  136.  
  137. If the caller has only access Level One, references to other disk directories
  138. than the ones defined in HCONFIG are ignored.  All operations take place in
  139. the defined directories. Telix protects your files from being accidentally
  140. overwritten by the caller as well.
  141.  
  142.  
  143.  
  144.  
  145.  
  146. Telix knows a caller is online when the Carrier Detect signal turns on. At
  147. this point, Telix will try to determine the caller's baud rate. Most Hayes
  148. compatible modems can be initialized to send the string 'CONNECT baud' where
  149. baud is the baud rate of the caller, when they sense a connection. If Telix
  150. sees this string it will switch to the appropriate baud. If this string is not
  151. received within a few seconds of the connection, Telix will leave the baud
  152. rate at whatever it was. Also, it should be mentioned that Telix can not
  153. determine the caller's other settings like parity, data bits, and stop bits.
  154. These must already match Telix's settings.
  155.  
  156. If the file LOGO.MSG exists in the Telix directory it is displayed to the
  157. caller. Basically, it should identify the system. Then Telix will ask the
  158. caller for his/her name. The name must be at least five letters long and is
  159. only used when indicating the caller in the Host Mode audit file. 
  160.  
  161. If a password has been defined Telix will ask the caller for it. The caller
  162. has three tries to complete the password. All password attempts, successful or
  163. failed, are written to the Host audit file. If the caller enters the Level One
  164. access password, he may manipulate only the disk directories defined in
  165. HCONFIG. Any other directories can not be accessed. If he enters the Level Two
  166. access password, the caller may use full pathnames in all file specifications.
  167. The level 2 password should only be kept for yourself or those you completely
  168. trust, as a Level 2 caller can access any files on your system.
  169.  
  170.  
  171.  
  172. If there is a file called WELCOME.MSG in the Telix directory, it is shown to
  173. the caller. This file can contain further identification or news that you only
  174. want valid callers to see. After each 23 lines the caller is prompted to press
  175. any key to continue. The caller may press Ctrl-S to pause at any time, and
  176. Ctrl-C or Ctrl-K to abort the listing. After the TELIX.MSG file is displayed
  177. the caller is presented with a menu of options:
  178.  
  179.           ┌───────────────────────────────────────────────────────┐
  180.           │ ■Files  Type  Upload  Download  Shell  Chat  Goodbye ?  │
  181.           └───────────────────────────────────────────────────────┘
  182.  
  183. The action to be taken is selected by entering its first letter. Case does not
  184. matter. The host operator is free to enter any keystrokes for the caller.
  185.  
  186. The 'Files' option allows the caller to list the files in the current disk
  187. directory. The caller must press a key after each screen. The output is not
  188. echoed on the local screen. If the caller has access level two they are
  189. prompted for a filespec, which may include the * and ? wildcard characters so
  190. that the contents of other directories than the 'Host download dir' may be
  191. listed.
  192.  
  193.  
  194. The 'Type' option allows the caller to view any ASCII file in the Host
  195. Download Directory, or in any directory for access Level 2 callers. The same
  196. format and commands are available during this command as for the displaying of
  197. the optional message file TELIX.MSG.
  198.  
  199. The 'Upload' option allows the caller to send a file to the host. The cal